package Listas;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author COEV
 */
public class NodoSimple {
    protected int valor;
    protected NodoSimple sgte;
    public NodoSimple(){
        valor=0;
        sgte=null;
    }
    public NodoSimple(int v, NodoSimple nodo){
        valor=v;
        sgte=nodo;
    }
    public void SetValor(int v){
        valor=v;
    }
    public int GetValor(){
        return valor;
    }
    public void SetSgte(NodoSimple nodo){
        sgte=nodo;
    }
    public NodoSimple GetSgte(){
        return sgte;
    }
 
}
